<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        #content{
            height: 1000px;
            background-color:#0ff;
        }
        #bottom:target{
            border: 5px solid pink;
        }
    </style>
</head>
<body>
    <div id="wrap">
        <div id="top"></div>
        <a href="#bottom">呵呵呵</a>
        <div id="content"></div>
        <div id="bottom">111</div>
        <a href="#top">哈哈</a>
    </div>
</body>
</html>